-record(session, {
	user,
	speak_spanish,
	speak_swedish,
	learn_spanish,
	learn_swedish,
	homework_given,
	homework_done,
	homework_to_do,
	homework_to_correct,
	homework_to_rate,
	rating_homework,
	uploaded_audios,
	times_listened,
	rating_audio,
	level}).

-record(user, {
	last_login,
	name,
	password,
	email,
	speak_spanish,
	speak_swedish,
	learn_spanish,
	learn_swedish,
	homework_given,
	homework_done,
	rating_homework,
	uploaded_audios,
	times_listened,
	rating_audio,
	level}).
	
-record(homework, {
	id,
	question,
	answer,
	correction,
	rating,
	difficulty,
	mark,
	date,
	teacher,
	student}).
	
-record(homework_to_do, {
	student,
	id}).

-record(homework_to_correct, {
	teacher,
	id}).
	
-record(homework_to_rate, {
	student,
	id}).
	
-record(homework_finished, {
	student,
	id}).
	
-record(audio, {
	id,
	user,
	name,
	text,
	language}).
	
-record(upload, {
          fd,
          filename,
          last}).
